package com.woniu.smallmedical.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author author
 * @create 2021-09-28-16:31
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class PrescriptionDetails {
    //处方详细的主键
    private Integer pdid;
    //处方表的外键
    private Integer prid;
    //药品信息表的外键
    private Basicmessage bmid;
    //库存表的外键
    private Inventory inid;
    //药品数量
    private Integer total;
    //天数
    private Integer numberdays;
    //增加的属性载体不影响表查询
    private double subtotal;//药品小计

}
